import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from "./store/store";



import './lib/mui/css/mui.css'
import './lib/mui/css/icons-extra.css'

Vue.config.productionTip = false
import auth from './auth'
Vue.use(auth)

import axios from './axios'
Vue.use(axios)

import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

Vue.use(MintUI)

import VuePreview from 'vue-preview'
Vue.use(VuePreview)

Vue.config.productionTip = false

// //设置响应时间
// // axios.defaults.timeout = 3000
// // //设置响应接口
// // axios.defaults.baseURL = 'http://localhost:8080'
// // //给vue添加一个原型属性$http指向axios，目的是在vue实例或者组件中不用重复引用axios，用this.$http就可以执行axios方法
// // Object.defineProperty(Vue.prototype,'$http',{
// //   value:axios
// // })

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
